// 1. 导入
// createSlice 创建一个 切片对象
// configureStore 创建 store 对象   store【仓库】
import {configureStore} from "@reduxjs/toolkit"

import countReducer from "./slices/countSlice";
import zanReducer from "./slices/zanSlice";
import hitokotoReducer from "./slices/hitokotoSlice";
import LolReducer from "./slices/LolSlice";
//3. 创建 store 数据仓库
let store = configureStore({
    reducer:{
        zan:zanReducer,
        count:countReducer,
        hitokoto:hitokotoReducer,
        lol:LolReducer
    }
})

//暴露store 对象
export default store;




